package archer.framework.common.entity;

/**
 * 带有逻辑删除功能的Entity
 *
 * @author christ
 * @date 2016/4/19
 */
public interface LogicalDeleteSupportEntity {


    /**
     * 是否删除
     *
     * @return
     */
    boolean isDeleted();

    /**
     * 设置删除标志位
     *
     * @param deleted
     * @return
     */
    LogicalDeleteSupportEntity setDeleted(boolean deleted);
}
